.PHONY:
all: myproc otherExe

myproc:test.c
	gcc -o $@ $^
otherExe: otherExe.cpp
	g++ -o $@ $^

.PHONY:
clean:
	rm myproc otherExe -rf
